
class Person{
    username: string;
    password: number;
    constructor(username:string, password:number){
        this.username = username;
        this.password = password;
    }
}

let p=new Person("wxj",18);
console.log(p);

// 类的特点 封装 继承 多态

export {}